package icons;
/*MoveDrawingIcon.java
 *CS193J
 *Summer 2001
 */


import java.awt.*;

import constants.GlobalDebug;
import figures.Move;
import figures.WBShape;

public class MoveDrawingIcon extends DrawingIcon {

  public MoveDrawingIcon () {
    super();
    if (GlobalDebug.isOn) 
      System.out.println ("MoveDrawingIcon.MoveDrawingIcon()");
  }

  public WBShape createShape (int x1, int y1, int x2, int y2) {
    if (GlobalDebug.isOn) 
      System.out.println ("MoveDrawingIcon.createShape()");
    return new Move (x1,y1,x2,y2);
  }

  public String getCommand () {
    if (GlobalDebug.isOn) 
      System.out.println ("MoveDrawingIcon.getCommand()");
    return "Move";
  }
}
